﻿Imports Microsoft.Reporting.WinForms
Public Class DmNghiepVu_Report
    Dim dt As DataTable
    Private Sub DmNghiepVu_Report_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
       Me.ReportViewer1.LocalReport.SetParameters(New ReportParameter("company", globalVariale.COMPANY))
        Me.ReportViewer1.LocalReport.SetParameters(New ReportParameter("address", globalVariale.ADDRESS))
        Me.ReportViewer1.RefreshReport()
    End Sub
    Public Sub setDt(ByVal dt As DataTable)
        Me.DataSetReport.dmnghiepvu.Clear()
        Me.dt = dt
        Me.DataSetReport.dmnghiepvu.Merge(dt)
    End Sub
End Class